			<script language="javascript" type="text/javascript" src="<?php echo base_url();?>public/frontend/js/ddaccordion.js"></script>
			<script type="text/javascript" language="javascript">
			ddaccordion.init({
				headerclass: "danh-muc", //Shared CSS class name of headers group
				contentclass: "danh-muc-box", //Shared CSS class name of contents group
				revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
				mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
				collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
				defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
				onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
				animatedefault: false, //Should contents open by default be animated into view?
				persiststate: true, //persist state of opened contents within browser session?
				toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
				animatespeed: "slow" //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
			
			});
			</script>
<dl id="menu-left">
<?php if(isset($nganh)){ ?>
		<?php foreach($nganh ->result_array() as $row_nganh){?>
		<dt class="danh-muc">
			<a href="<?php echo base_url('khoa/'.$row_nganh['id']);?>"><?php echo $row_nganh['ten_nganh'];?></a>
			<?php $mon = $this->m_nganh->get_mon($row_nganh['id']);?>
			<dd class="danh-muc-box">
				<ul class="ulitem">
				<?php foreach($mon ->result_array() as $row_mon){?>
					<li><a href="<?php echo base_url('baigiang_c/mon/'.$row_mon['id']);?>"><?php echo $row_mon['ten_mon'];?></a></li>
					<?php } ?>
				</ul>
			</dd>
		</dt>
		<?php }?>
<?php }?>
</dl>